<?php
$FileLiftProfiles['icons'] =  array (
											"conf" => array(
												'absPath' => "/home/pblanco/proxectos/galizaSaudabel/galizaSaudabel/files", 
												'tmpPath' => "/tmp",
												'responseJS' => '<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
													<html>
														<head>
															<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
															<style>
																body {
																	margin: 0;
																}
															</style>
															<base href="' . site_url . '/"/>
														</head>
														<body>
															<script type="text/javascript" src="Templates/Script/lib/jQuery/jQuery.js"></script>
															<script>
																jQuery.noConflict();
																jQuery(document).ready(function () {
																	parent.FileLiftResponse("[obj]","[status]", "[msg]", "[filename]");
																});
															</script>
														</body>
													</html>',
												'statusMSG' => array(
													'nofile' => array(
																0 => 'No error code avaiable',
																1 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini',
																2 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form',
																3 => 'The uploaded file was only partially uploaded',
																4 => 'No has seleccionado un archivo.',
																6 => 'Missing a temporary folder',
																7 => 'Failed to write file to disk',
																8 => 'File upload stopped by extension'
																),
													'nostore' => 'No se pudo guardar el archivo debido a un error.',
													'info' => '[filebasename] ([filesize] kb)',
													'notallowed' => '',
													'notfound' => 'No se encontro el archivo en el servidor.',
													'overwrite' => 'Ya existe un archivo con ese nombre.',
													'deleted' => 'El archivo fue eliminado con exito.'
													),
												'tmp-dateformat' => 'Ymd-Hms',
												'tmp-spliter' => '--', 
												'autoresponse' => true,
												'privatefolders' => true,
												'overwritewarnings' => false
											),
											'categories' => array(
												'resourceclass_bigicon' => array(
													'structure' => 'big_raw.png',
													'path' => '/mapIcons',
													'options' => array(
														'maxsize' => 3052,		//max size of file in Kbytes
														'imagesize_fix' => array(41, 41), // image resolution, needs imagick
														'type' => 'png'	//MIME types  allowed, splited by comma ',' (full name of MIME type or a part of it)		
														),
													'errors' => array(
														'checksetup' => 'WARNING: Check your setup file and look for non-allowed options on this categorie',
														'maxsize' => 'El archivo supera el tamaño máximo permitido ([maxsize] kb)',
														'imagesize_fix' => 'El tamaño de la imagen debe ser de 50x50px',
														'type' => 'Solo se permiten archivos [type]'
														)
												),
												'resourceclass_smallicon' => array(
													'structure' => 'small_raw.png',
													'path' => '/mapIcons',
													'options' => array(
														'maxsize' => 3052,		//max size of file in Kbytes
														'imagesize_fix' => array(20, 20), // image resolution, needs imagick
														'type' => 'png'	//MIME types  allowed, splited by comma ',' (full name of MIME type or a part of it)		
														),
													'errors' => array(
														'checksetup' => 'WARNING: Check your setup file and look for non-allowed options on this categorie',
														'maxsize' => 'El archivo supera el tamaño máximo permitido ([maxsize] kb)',
														'imagesize_fix' => 'El tamaño de la imagen debe ser de 20x20px',
														'type' => 'Solo se permiten archivos [type]'
														)
												),
												'activity_bigicon' => array(
													'structure' => 'big_raw.png',
													'path' => '/categoryIcons',
													'options' => array(
														'maxsize' => 3052,		//max size of file in Kbytes
														'imagesize_fix' => array(41, 41), // image resolution, needs imagick
														'type' => 'png'	//MIME types  allowed, splited by comma ',' (full name of MIME type or a part of it)		
														),
													'errors' => array(
														'checksetup' => 'WARNING: Check your setup file and look for non-allowed options on this categorie',
														'maxsize' => 'El archivo supera el tamaño máximo permitido ([maxsize] kb)',
														'imagesize_fix' => 'El tamaño de la imagen debe ser de 50x50px',
														'type' => 'Solo se permiten archivos [type]'
														)
												),
												'activity_smallicon' => array(
													'structure' => 'small_raw.png',
													'path' => '/categoryIcons',
													'options' => array(
														'maxsize' => 3052,		//max size of file in Kbytes
														'imagesize_fix' => array(20, 20), // image resolution, needs imagick
														'type' => 'png'	//MIME types  allowed, splited by comma ',' (full name of MIME type or a part of it)		
														),
													'errors' => array(
														'checksetup' => 'WARNING: Check your setup file and look for non-allowed options on this categorie',
														'maxsize' => 'El archivo supera el tamaño máximo permitido ([maxsize] kb)',
														'imagesize_fix' => 'El tamaño de la imagen debe ser de 20x20px',
														'type' => 'Solo se permiten archivos [type]'
														)
												)
											)
										);
$FileLiftProfiles['photos'] =  array (
											"conf" => array(
												'absPath' => "/home/pblanco/proxectos/galizaSaudabel/galizaSaudabel/files", 
												'tmpPath' => "/tmp",
												'responseJS' => '<style>body{margin: 0;}</style><script>parent.FileLiftResponse("[obj]","[status]", "[msg]", "[filename]");</script>',
												'statusMSG' => array(
													'nofile' => array(
																0 => 'No error code avaiable',
																1 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini',
																2 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form',
																3 => 'The uploaded file was only partially uploaded',
																4 => 'No has seleccionado un archivo.',
																6 => 'Missing a temporary folder',
																7 => 'Failed to write file to disk',
																8 => 'File upload stopped by extension'
																),
													'nostore' => 'No se pudo guardar el archivo debido a un error.',
													'info' => '[filebasename] ([filesize] kb)',
													'notallowed' => '',
													'notfound' => 'No se encontro el archivo en el servidor.',
													'overwrite' => 'Ya existe un archivo con ese nombre.',
													'deleted' => 'El archivo fue eliminado con exito.'
													),
												'tmp-dateformat' => 'Ymd-Hms',
												'tmp-spliter' => '--', 
												'autoresponse' => true,
												'privatefolders' => false,
												'overwritewarnings' => false
											),
											'categories' => array(
												'resource_photo' => array(
													'structure' => '[id]_photo.png',
													'path' => '/resourcePhotos',
													'options' => array(
														'maxsize' => 3052,		//max size of file in Kbytes
														'type' => 'png,jpeg'	//MIME types  allowed, splited by comma ',' (full name of MIME type or a part of it)		
														),
													'errors' => array(
														'checksetup' => 'WARNING: Check your setup file and look for non-allowed options on this categorie',
														'maxsize' => 'El archivo supera el tamaño máximo permitido ([maxsize] kb)',
														'type' => 'Solo se permiten archivos [type]'
														)
												)
											)
										);




?>
